<?php
	include_once( 'class.db.php' );
	
	if($_GET['jwuser']){
		$jwuser = $_GET['jwuser'];
		$db = new database();
		$query = "UPDATE `sina_jw2005` SET `is_pk`='2' WHERE `jw_user`='$jwuser'";
		$result = $db->exec_sql($query,false);
		$query = "UPDATE `web_jw2005` SET `is_pk`='2' WHERE `jw_user`='$jwuser'";
		$result = $db->exec_sql($query,false);
	}
?>